<template>
    <!-- 分子公司/集团年度动态惩罚查询表 -->
    <div>
        <el-button
            type="primary"
            style="background: #2e61d7; margin-bottom: 10xp"
            @click="save()"
            >刷新</el-button
        >
        <div class="e-table">
            <el-table
                :data="punishmentData"
                border
                style="width: 100%"
                ref="table"
                class="table"
                :max-height="$store.state.tableHeight"
                @cell-mouse-enter="cellMouseEnter"
                @cell-mouse-leave="cellMouseLeave"
                :cell-class-name="cellClsNm"
                :header-cell-style="{ textAlign: 'center' }"
                :cell-style="{ textAlign: 'center' }"
                v-sortTable="{
                    tableData: punishmentData,
                    _this: this,
                    ref: 'table'
                }"
            >
                <el-table-column
                    prop="manageOrgName"
                    label="评价管理机构"
                    width="200"
                >
                </el-table-column>
                <el-table-column
                    prop="outerName"
                    label="分包商名称"
                    width="200"
                >
                </el-table-column>
                <el-table-column
                    prop="creditCode"
                    label="统一社会信用代码"
                    width="200"
                >
                </el-table-column>
                <el-table-column prop="e" label="评价日期" width="200">
                </el-table-column>
                <el-table-column prop="result" label="评价结论" width="200">
                </el-table-column>
                <el-table-column prop="startDate" label="开始日期" width="200">
                </el-table-column>
                <el-table-column prop="endDate" label="结束日期" width="200">
                </el-table-column>
            </el-table>
            <!-- <div style="display: flex; margin-top: 20px">
                <div style="width: 50%">评价得分: {{ 111 }}</div>

                <div style="width: 50%">综合评价: {{ 222 }}</div>
              </div>
              <div style="display: flex; margin-top: 20px">
                <div style="width: 50%">项目负责人: {{ 111 }}</div>

                <div style="width: 50%">检查人: {{ 222 }}</div>
              </div> -->
        </div>
    </div>
</template>
<script>
export default {
    data () {
        return {
            punishmentData: []
        }
    },
    methods: {
        cellClsNm ({ column }) {
            if (column.label === '') {
                return 'fixed-left'
            }
        },
        cellMouseEnter () {
            console.log()
        },
        cellMouseLeave () {
            console.log()
        }
    }
}
</script>
